﻿@model DocumentInfo
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="GBK">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=GBK" />
    <title>电子杂志</title>
    <meta name="robots" content="noindex,follow">

    <link rel="shortcut icon" href="#" />
    <link href="@Url.Content("~/Areas/CPP/Content/merge-120609.css")" rel="stylesheet" />
    <link href="/Areas/CPP/Content/default.scrolltop.min.css" rel="stylesheet" />
    <script src="/Scripts/jquery-1.8.2.min.js"></script>
    
     <script src="/Scripts/FlexPaper/js/flexpaper.js"></script>
    <script src="/Scripts/FlexPaper/js/flexpaper_handlers.js"></script>
    <link href="/Scripts/FlexPaper/css/flexpaper.css" rel="stylesheet" />
</head>
<body class="fullscreen sw-layout-w990 ">
    @{ Html.RenderAction("TopMenu", "CPartial");}
    <div>
        @{ Html.RenderAction("Header", "CPartial");}
    </div>
    <div>
        @{ Html.RenderAction("Menu", "CPartial", new { current = "EZine" });}
    </div>

    <div id="doc" class="sw-layout-doc">
        <div id="content" class="sw-layout-content">

            <div id="sw_mod_mainblock" class="sw-mod-mainblock sw-layout-mod">

                <div id="sw_mod_searchlist" class="sw-mod-search sw-layout-mod" style="width:700px;">
                    <div style="height:36px; margin:10px 0; border-bottom:1px solid rgb(238,238,238);">
                        <h3 style="font-weight:bold; font-size:16px;">@Model.Title</h3>
                    </div>
                    <div id="documentViewer" style="height:600px;">
                        
                    </div>
                    @Html.Hidden("DocUrl",Model.DocUrl)
                </div>
                <div id="sw_mod_sub" class="sw-layout-sub"  style="width:227px;">
                    <div class="loadingicon" id="col-loading"></div>
                    <div class="delayshow" id="col-delayshow">
                        @{  Html.RenderAction("Advert", "CPartial", new { floor = "PT" }); }
                    </div>
                </div>
            </div>

        </div>
    </div>
    <div>

        @{ Html.RenderAction("Footer", "CPartial");}

    </div>
    <script type="text/javascript">
        $('#documentViewer').FlexPaperViewer(
               {
                   config: {

                       SWFFile: $("#DocUrl").val(),

                       Scale: 05,
                       ZoomTransition: 'easeOut',
                       ZoomTime: 0.5,
                       ZoomInterval: 0.2,
                       FitPageOnLoad: true,
                       FitWidthOnLoad: false,
                       FullScreenAsMaxWindow: false,
                       ProgressiveLoading: false,
                       MinZoomSize: 0.4,
                       MaxZoomSize: 2,
                       SearchMatchAll: false,
                       InitViewMode: 'Portrait',
                       RenderingOrder: 'flash',
                       StartAtPage: '',

                       ViewModeToolsVisible: true,
                       ZoomToolsVisible: true,
                       NavToolsVisible: true,
                       CursorToolsVisible: true,
                       SearchToolsVisible: true,
                       WMode: 'window',
                       localeChain: 'zh_CN',
                       jsDirectory: "/Scripts/FlexPaper/js/",
                       cssDirectory: "/Scripts/FlexPaper/css/",
                       localeDirectory: "/Scripts/FlexPaper/locale/"
                   }
               }
           );


    </script>
</body>
</html>

